<div align="center">
  <DIV class=boxright>
    <DIV class=bltop2>
    </DIV>
    <DIV class=c_box>
      <DIV class="rep_left">
        <TABLE cellSpacing=0 cellPadding=4 width="100%" border=0>
          <TBODY>
            <TR vAlign=top  ALIGN="left" >
              <TD width="74%">
                <INPUT class="button" onMouseOver="this.className='button2'" onMouseOut="this.className='button'" onclick="window.location='<%=session[:path]%>'" type=button value="返回" name="button2323">        
              </TD>
            </TR>
          </TBODY>
        </TABLE>
        <% form_tag :action => 'update', :id => @mediafile do %>
          <TABLE id=tblSearch  cellSpacing=0 cellPadding=4  width="100%" border=0>
            <TBODY>
              <TR>
                <TD class=rtdp height=22 COLSPAN="6" ALIGN="left"><STRONG>编辑文件</STRONG></TD>
              </TR>
              <TR>
                <TD class=rep_li_c2 width="10%" >前缀一</TD>
                <TD class=rep_li_c2 width="10%" ALIGN="left">
                  <%=@dictionaries=Dictionary.find :all ,:conditions=>"CON_TYPE='prefix_one'"                                       								
                  collection_select(:mediafile,"prefix_one",@dictionaries,:id,:content)								
                %>								
                </TD>
                <TD class=rep_li_c2 width="10%">前缀二</TD>
                <TD class=rep_li_c2 width="10%" ALIGN="left">
                  <%=@dictionaries=Dictionary.find :all ,:conditions=>"CON_TYPE='prefix_two'"                                       								
                  collection_select(:mediafile,"prefix_two",@dictionaries,:id,:content)								
                %>		
                </TD>
                <TD class=rep_li_c2 width="10%">前缀三</TD>
                <TD class=rep_li_c2 width="18%" ALIGN="left"> 
                  <%=@dictionaries=Dictionary.find :all ,:conditions=>"CON_TYPE='city'"                                       								
                  collection_select(:mediafile,"prefix_three",@dictionaries,:id,:content)								
                %>	</TD>
              </TR>
              <TR>
                <TD class=rep_li_c2 width="18%">文件标题</TD>
                <TD class=rep_li_c2  COLSPAN="5" ALIGN="left">
                  <%= text_field  "mediafile","title",:class=>"text", :style=>"WIDTH: 330px"%>
                </TD>
              </TR>
              <TR>
                <TD class=rep_li_c2 colSpan=6>
                  <INPUT onMouseOver="this.className='submit2'" onMouseOut="this.className='submit'" class=submit id="" type=submit value=修改 name="">
                  <INPUT onMouseOver="this.className='reset2'" onMouseOut="this.className='reset'" id="reset" class="reset"  type="reset" value=取消>
                </TD>
              </TR>
            </TBODY>
          </TABLE>
        <%end%>
                
      </DIV>
    </DIV>
    <SCRIPT type="text/javascript">
        iniControlsEvent(document.forms[0]);
    </SCRIPT>
  </DIV>
  <div>
  </div>
</div>

